package com.atwulidun.bridge06;

public class BridgeDemo {
    public static void main(String[] args) {
        PhonePattern phone1 = new Folded(new OPPO());
        phone1.getPhonePatternAndBrand();
        PhonePattern phone2 = new Folded(new OPPO());
        phone2.getPhonePatternAndBrand();
        PhonePattern phone3 = new Upright(new VIVO());
        phone3.getPhonePatternAndBrand();
        PhonePattern phone4 = new Upright(new VIVO());
        phone4.getPhonePatternAndBrand();
    }
}
